# -*- coding: utf-8 -*-
# @Time    : 2021/6/7 16:27
# @Author  : ZSQ
# @Email   : zsq199170918@163.com
# @FileName: main.py
# @Software: PyCharm

from scrapy import cmdline

if __name__ == '__main__':
    # cmdline.execute(r'scrapy crawl beike -a crawl=广州'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=北京'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=上海'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=重庆'.split())
    cmdline.execute(r'scrapy crawl beike -a crawl=成都'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=深圳'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=天津'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=青岛'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=宁波'.split())  # 没有商业
    # cmdline.execute(r'scrapy crawl beike -a crawl=西安'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=东莞'.split())  # 没有商业
    # cmdline.execute(r'scrapy crawl beike -a crawl=杭州'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=沈阳'.split())  # 没有商业
    # cmdline.execute(r'scrapy crawl beike -a crawl=佛山'.split())  # 没有商业
    # cmdline.execute(r'scrapy crawl beike -a crawl=大连'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=苏州、沈阳、武汉'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=南京、合肥、常州、佛山'.split())  # 没有商业
    # cmdline.execute(r'scrapy crawl beike -a crawl=石家庄、廊坊'.split())  # 没有商业
    # cmdline.execute(r'scrapy crawl beike -a crawl=济南、珠海'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=郑州、长沙、南宁'.split())  # 没有商业
    # cmdline.execute(r'scrapy crawl beike -a crawl=厦门、福州、温州、金华'.split())  # 没有商业
    # cmdline.execute(r'scrapy crawl beike -a crawl=全国'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=成都、武汉、沈阳、佛山、杭州、郑州、长沙、南京、合肥、大连'.split())

    # cmdline.execute(r'scrapy crawl beike -a crawl=重庆、成都'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=佛山、杭州、南京'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=郑州、合肥'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=沈阳、长沙、大连'.split())

    # cmdline.execute(r'scrapy crawl beike -a crawl=石家庄、廊坊、济南'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=常州、台州、南通、绍兴、南昌'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=珠海、南宁'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=厦门、福州、温州、金华'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=太原、长春、哈尔滨、保定'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=太原、无锡、昆明、南昌'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=廊坊、保定、哈尔滨、南宁、温州'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=珠海、中山'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=廊坊、保定、中山、惠州、金华、嘉兴、泉州、兰州'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=贵阳、常州'.split())
    # cmdline.execute(r'scrapy crawl beike -a crawl=台州、南通、绍兴、南昌'.split())

    # cmdline.execute(r'scrapy crawl anjuke -a crawl=重庆'.split())

    # cmdline.execute(r'scrapy crawl anjuke -a crawl=武汉'.split())
    # cmdline.execute(r'scrapy crawl landchina'.split())
    cmdline.execute(r'scrapy crawl office86 -a crawl=重庆'.split())
